package com.eddy.liveline.message.service;

import com.eddy.liveline.message.pojo.Message;
import com.eddy.liveline.message.pojo.MessageTableQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface MessageService {

    public boolean batchSave(List<Message> messages);

    public boolean deleteById(String id);

    public boolean deleteByIds(List<String> ids);

    public Message getById(String id);

    public PageInfo<Message> query(MessageTableQuery messageTableQuery);

    public boolean batchUpdate(List<Message> messages);


}
